package com.zt.yongxinbao.service;

import com.zt.yongxinbao.entity.EvaluationGoods;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface EvaluationGoodsService {
    /*
    根据商品名称查看评论
     */
    List<EvaluationGoods> getComment(String goodsName);
    /*
    增加评论
     */
    Boolean insertComment(EvaluationGoods evaluationGoods);
    /*
    根据顾客名和商品名称查找评论
     */
    List<EvaluationGoods> getCommentByGoodsAndCustomerName(String goodsTitle,String customerName);
}
